import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
const path = require('path')

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  resolve: {
    //设置路径别名
    alias: {
      '@': path.resolve(__dirname, 'src'),
      '*': path.resolve(''),
    },
  },
  server: {
    port: 4000, //指定端口号
    proxy: {},
  },
})
